package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Batch;


public interface BatchMapper {
	Batch selectBatchById(int id);
	
	boolean addBatch(@Param("Batch") Batch Batch,@Param("mjid") int mjid);
	
	boolean modifyBatch(@Param("Batch") Batch Batch,@Param("mjid") int mjid);
	
	boolean deleteBatchById(int id);
	
	List<Batch> selectAllBatch();

	List<Batch> selectBatchByMjid(int mjid);
}
